﻿@model ProductDetailsModel
@using Nop.Web.Models.Catalog;
@if (Model.CompareProductsEnabled)
{
    <div class="compare-products">
        <input type="button" value="@T("Products.Compare.AddToCompareList")" class="btn btn-default btn-xs add-to-compare-list-button" onclick="location.href='@Url.RouteUrl("AddProductToCompare", new { productId = Model.Id })'" />
    </div>
}